/*
 *  $Id: DeepOne.cs 1051 2010-05-18 22:10:41Z thenn.erannor $
 *	This file is a part of Ragima CCG.
 *	(C) 2008 Ragima development group.
 *
 *	Licensed under the terms of the GNU GPL License version 2.
 *
 */

namespace Ragima.Cards001.Water.Creatures {
    public class DeepOne: CreatureCard {
        public DeepOne(): base("001_w_c_deep_one") {
            Level = CompleteLevel.ReadyForTest;
            Element = ElementType.Water;
            Value = 100;
            Damage = 5;
            Health = 5;
            SummonState = CreatureState.Tapped;
            AddManaCost(ElementType.Water, 4);
        }
        public override void SetNaturalAffects(ICollector<Affect> affects) {
            affects.Add(new Affects.OnHit(DoHit, AffectSummaryType.Local));
        }

        private static void DoHit(Creature hitter, AbstractObject target, int damage) {
            if (target is Creature) hitter.Summary.ChangeDamage(1);
        }
    }
}
